package cn.harry.modular.ai.service;

import cn.harry.modular.ai.domain.ChatConversation;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.validation.constraints.NotNull;

/**
 * AI 聊天对话服务类
 *
 * @author harry
 * @公众号 Harry技术
 */
public interface ChatConversationService extends IService<ChatConversation> {

    /**
     * 校验对话是否存在
     * @param conversationId
     * @return
     */
    ChatConversation validateChatConversationExists(@NotNull(message = "聊天对话编号不能为空") Long conversationId);
}
